1、定时跳转
response.addHeader("Refresh","【跳转时间】;url=/【项目名】/【跳转页面名】.html")
//例:定时5秒跳转到myProject中的hello.html页面
response.addHeader("Refresh","5;url=/myProject/hello.html")2、定时刷新
response.addHeader("Refresh","【刷新时间】")
// 每5秒钟刷新一下页面
response.addHeader("Refresh",'5')